function changePasswordFormWin() {
	var formPanel = new Ext.FormPanel({

		labelAlign : 'right',
		labelWidth : 80,
		height : 130,
		width : 310,
		margins : '0 0 2 0',
		cmargins : '0 0 2 0',
		// bodyStyle:'margin-right:5px',
		frame : true,
		defaults : {
			width : 180
		},
		defaultType : 'textfield',
		items : [ {
			fieldLabel : TXT_user_newpassword,
			inputType : 'password',
			id : 'newpassword',
			name : 'newpassword',
			allowBlank : false
		}, {
			fieldLabel : TXT_user_confirm_pwd,
			inputType : 'password',
			id : 'confirmPwd',
			name : 'confirmPwd',
			allowBlank : false
		} ]
	});
	var win = null;
	if (!win) {
		win = new Ext.Window(
				{
					title : TXT_common_change_password,
					height : 130,
					width : 315,
					autoScroll : false,
					layout : 'form',
					border : false,
					minimizable : false,
					maximizable : false,
					resizable : false,
					modal : true,
					layoutConfig : {
						animate : false
					},
					items : formPanel,
					buttonAlign : 'center',
					buttons : [
							{
								text : TXT_common_OK,
								handler : function() {
									if (!formPanel.form.isValid()) {
										return;
									}

									var newPassword = formPanel.findById(
											'newpassword').getValue();
									var confirmPwd = formPanel.findById(
											'confirmPwd').getValue();

									if (newPassword != confirmPwd) {
										Ext.MessageBox.alert(TXT_common_hint,
												TXT_user_confirm_pwd_error);
										return;
									}
									BestvSearch.showWaitingWin();
									Ext.Ajax
											.request({
												url : DISPATCH_URL,
												method : 'POST',
												params : 'cmd=user&action=changePassword&newPassword='
														+ newPassword,
												success : function(response,
														options) {
													Ext.MessageBox.hide();
													var s = response.responseText;
													if (s == 'error') {
														Ext.MessageBox
																.alert(
																		TXT_common_hint,
																		TXT_common_access_fail);
													} else if (s == 'null') {
														Ext.MessageBox
																.alert(
																		TXT_common_hint,
																		TXT_common_relogin,
																		function() {
																			window.location.href = '../eni/common/logout.jsp';
																		});
													} else {
														var result = Ext.util.JSON
																.decode(s);
														if (result.result == 'success') {
															Ext.MessageBox
																	.alert(
																			TXT_common_hint,
																			TXT_change_password_success,
																			function() {
																				win
																						.close();
																			});
														} else {
															if (result.message == 'rechangePwd') {
																Ext.MessageBox
																		.alert(
																				TXT_common_hint,
																				TXT_change_password_fail);
															}
														}
													}
												},
												failure : function(respond,
														options) {
													Ext.MessageBox.hide();
													Ext.MessageBox
															.alert(
																	TXT_common_hint,
																	TXT_common_access_fail);
												}
											});
								}
							}, {
								text : 'cancel',
								handler : function() {
									win.close();
								}
							} ]
				});
	}
	win.show();
}